/*
* @Author: Choisaaaa
* @Date: 2018/5/9  15:07
*/

/* 加载中的样式 */
.seller-product-save .fa-spin{
    font-size: 80px;
    color: #ddd;
    margin-top: 50px;
    margin-left: 400px;
}
/*详细图片全屏start */
.onClickImage-div{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eee;
    background: rgba(0,0,0,.4);
    z-index: 1000;
    overflow-x:hidden ;
    overflow-y: auto;
}
.onClickImage-img{
    width: 700px;
    margin: 200px auto;
}
.onClickImage-p{
    font-size: 50px;
    position: fixed;
    top: 30px;
    right: 30px;
    color: white;
    cursor: pointer;
}
/* 详细图片全屏框end */
div.form-line{
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    margin-bottom: 16px;
}
div.form-line span.label{
    display: inline-block;
    width: 80px;
    text-align: center;
    padding-top: 7px;
    font-weight: 700;
}
/* 输入框的样式 */
div.form-line .text{
    height: 17px;
    line-height: 17px;
    width: 200px;
    font-size: 14px;
    outline: none;
    padding: 6px 12px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
div.form-line .text#productName{ /* 商品名称输入框 */
    width: 443px;
}
div.form-line .text#product-sub{ /* 商品描述 */
    width: 443px;
}
/* 商品分类选择下拉框 */
div.form-line select{
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-shadow: none;
    text-align: start;
    font: 400 13.3333px Arial;
    -webkit-appearance: menulist;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    color: black;
    cursor: default;
    border-image: initial;
    height: 34px;
    width: 226px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
div.form-line select.hidden{
    visibility: hidden;
}
div.form-line select.show{
    visibility: visible;
}
div.form-line#pro-images{
    display: block;
    height: 250px;
}
div.form-line .pro-image{
    display:block;
    margin-left: 100px;
    margin-bottom: 5px;
}

div.form-line #inputBox{
    position: relative;
    width: 600px;
    height: 40px;
    border: 1px solid #ccc;
    color: #555;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
}
/*  上传详细图片的样式 */
div.form-line #file.hidden{
    display: none;
}
div.form-line #inputBox input{
    position: absolute;
    width: 100%;
    height: 40px;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: -10px;
}
#imgBox{
    text-align: left;
    width: 100%;
    height: 180px;
    border: 1px solid #ddd;
}
.form-line #imgBox .tips{
    margin: 70px auto;
    text-align: center;
    font-size: 20px;
    color: #ddd;
}
.imgContainerDiv{
    display: inline-block;
    width: 16%;
    height: 135px;
    margin-left: 1%;
    border: 1px solid #666666;
    position: relative;
    margin-top: 30px;
    box-sizing: border-box;
}
.imgContainerDiv img{
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.imgContainerDiv .imgDelete{
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    background: black;
    text-align: center;
    line-height: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}
.imgContainerDiv:hover p{
    display: block;
}
.seller-product-save .btn{
    margin-top: 5px;
}